package cn.tedu.egweibo3.demos.web.Controller;

import cn.tedu.egweibo3.demos.web.comment.response.JsonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/v1/users/")
@Api(tags = "用户操作模块")
public class UserController {
    @GetMapping("select")
    @ApiOperation(value = "根据用户id查询功能")
    @ApiImplicitParam(name = "id",value = "用户id",required = true)
    public JsonResult select(Integer id){
        return JsonResult.ok();
    }
}
